import Vue from "vue"
import vuex from "vuex"
Vue.use(vuex)

import init from "./init"
import tagsView from "./tagsView"
import settings from "./settings"
import formModule from "./formModule"

export default new vuex.Store({
    state:{
        routers:{}
    },
    modules:{
        init,
        tagsView,
        settings,
        formModule
    },
    mutations: {
        setRouters(state,v){
            return state.routers=v
        }
    }
})